#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN


@protocol WechatDelegate


//成功获取到了code
@required
-(void)onGetCodeSuccess:(NSString*) code;

//登录失败
//1 没有安装微信
//2 授权失败
//3 验证码不匹配
//-1 用户取消登录
@required
-(void)onLoginFail:(int) errCode;

@end



NS_ASSUME_NONNULL_END
